docs: refresh stale items vs current code; archive completed hosting record - #124
Conversation
…record Sweep against the 2026-05-30 audit findings — the doc surface had drifted through the MT3, Live 12 catalogue, pianoroll/symusic, and recommendation-proof merges. Adds those features to the inventories where they were missing, fixes a wrong line reference, removes a dead commit hash, refreshes date stamps, and archives a completed-work record. - MT3 polyphonic transcription: add to apps/backend/AGENTS.md (file map + guidance), apps/backend/ARCHITECTURE.md (Components table + mt3-transcriptions route), apps/backend/README.md (Polyphonic section now reflects opt-in shipping), apps/ui/AGENTS.md + apps/ui/README.md (mt3Client.ts + UI surface), CLAUDE.md (#19 backend file, #6a frontend service), and all three CHANGELOG.md files. - Live 12 catalogue + phase2_catalogue_gates, transcription pianoroll + symusic, recommendation-proof campaign: add to CHANGELOG.md (root) and apps/backend/CHANGELOG.md and apps/ui/CHANGELOG.md. - CLAUDE.md: fix wrong analysis_runtime.py line ref (685 → ~800), add ASA_ENABLE_MT3 and ASA_SAMPLE_SYNTH_BACKEND env vars, correct the tsconfig excludes description, drop the unreachable 5c40dd4 commit hash. - apps/backend/AGENTS.md + ARCHITECTURE.md: drop the same dead 5c40dd4 hash. - docs/ARCHITECTURE_STRATEGY.md + docs/POLYPHONIC_TRANSCRIPTION_SPIKE.md: reflect that MT3 has shipped as an opt-in, additive stage (the spike harness remains the offline comparison rig for other candidates). - docs/SAMPLE_GENERATION.md: fix the schematic node label (synth_kit() → the real synth_kick/snare/hat() trio). - apps/backend/JSON_SCHEMA.md: annotate the shared-vs-full carve-out so the full-mode-only keys (keyProfile, tuningFrequency, tuningCents, lufsMomentaryMax, lufsShortTermMax, pitchDetail) are explicit per CLAUDE.md tripwire #4. - Archive docs/PUBLIC_HOSTING_FOUNDATION.md → docs/history/public-hosting-foundation-2026-04-01.md with an archived-banner; update inbound references in CHANGELOG.md, docs/SETUP.md, docs/history/README.md, and docs/history/archive/refactor-state-2026-03-18.md. - incorporations/forking-plans-2026-05-14.md: add a 2026-05-30 status update noting Plan 6 substantially landed via the Live 12 catalogue + gates work. No code touched — markdown only. https://claude.ai/code/session_016m6cUFNwb3kD2EzAbgqCHe
slittycode
left a comment
There was a problem hiding this comment.
Verdict: APPROVE (posted as COMMENT — can't self-approve)
Summary
Pure docs refresh — 18 markdown files, zero code touched. The PR catches up three CHANGELOGs and multiple AGENTS/ARCHITECTURE/README files to reflect features that shipped in PR #122 (MT3 opt-in stage, Live 12 catalogue + gates, pianoroll endpoint, recommendation-proof campaign). Also archives docs/PUBLIC_HOSTING_FOUNDATION.md → docs/history/public-hosting-foundation-2026-04-01.md with all inbound links updated. No automated tests are applicable; nothing here can break the runtime.
Findings
Worth considering (one item):
docs/history/public-hosting-foundation-2026-04-01.md archive banner says "the 'Remaining work before real public hosting' section near the end is the live punch list and lives outside this archived doc" — but that section is in the archived doc, not outside it. The docs/history/README.md entry is clearer ("punch list inside is aspirational — re-open items in BACKLOG.md if needed"). The banner phrasing is contradictory. Not a blocker; a one-word tweak ("is aspirational — re-open in BACKLOG.md") would clear it up.
Everything else checks out:
- MT3 entries are internally consistent across all six touched docs: opt-in, additive,
mt3_mode='enabled'canonical gate,ASA_ENABLE_MT3=1legacy CLI gate, never overrides measurement. - The
analysis_runtime.py:685→~L800line-number fix is correct. - The
vitest.config.tstsconfig exclude addition is accurate. synth_kit()→synth_kick/snare/hat()schematic fix is correct.- Both link fixes in
docs/history/archive/refactor-state-2026-03-18.mdare correct:../ARCHITECTURE_STRATEGY.mdwas broken (resolved to non-existentdocs/history/ARCHITECTURE_STRATEGY.md), now fixed to../../ARCHITECTURE_STRATEGY.md; hosting-foundation link updated to match the rename.
Test results
N/A — docs-only PR.
Phase boundary check
Clean. No code changes.
Generated by Claude Code
The banner said the "Remaining work" section "lives outside this archived doc" but that section is in the doc itself. Aligns with the clearer phrasing already used in docs/history/README.md. https://claude.ai/code/session_016m6cUFNwb3kD2EzAbgqCHe
slittycode
left a comment
There was a problem hiding this comment.
Verdict: APPROVE (posted as COMMENT — GitHub blocks self-review)
Summary
Docs-only PR that catches the doc surface up to four features that shipped in the last sprint (MT3, Live 12 catalogue + gates, transcription pianoroll, recommendation-proof campaign), fixes two genuinely broken relative links, and archives a completed hosting-foundation doc. No code changed. Every factual claim was verified against the actual code and all check out.
Verified against code:
mt3Client.ts,mt3_transcription.py,test_mt3_transcription.pyall existtranscriptionDetailstrip is atanalysis_runtime.py:800—~L800is accuratevitest.config.tsis intsconfig.jsonexclude — the lint guardrail note is now correctsynth_kick/snare/hat()are the real function names;synth_kit()was wrongASA_ENABLE_MT3atanalyze.py:1851,_execute_mt3_attempt/_mt3_worker_loopinserver.py, MT3 route atserver.py:3247— all matchASA_SAMPLE_SYNTH_BACKENDenv var confirmed insample_synthesis.py- Path fix in
docs/history/archive/refactor-state-2026-03-18.md(../ARCHITECTURE_STRATEGY.md→../../ARCHITECTURE_STRATEGY.md) corrects a link that was already broken before this PR
Findings
Worth considering:
CLAUDE.md frontend services list inserts 6a. between items 6 and 7 rather than renumbering 7–17 to 7–18. Markdown renders it literally so it reads fine, but the mixed numbering is mildly confusing for anyone scanning that list. Avoids a noisy renumber diff, so defensible as-is.
That's it. Nothing blocking.
Test results
N/A — docs-only, no code changed.
Phase boundary check
Clean. No source files touched.
Generated by Claude Code
Summary
Doc-vs-code audit and refresh. Three parallel audit agents (root docs, docs/, per-app docs) compared the documentation surface against the current code; this PR fixes the stale items they flagged and archives one completed-work record. Markdown only — no code touched.
The two biggest themes:
b2df43a) but the doc inventories — backend AGENTS/ARCHITECTURE/README, UI AGENTS/README, CLAUDE.md frontend service list, and all three CHANGELOGs — were one feature behind.apps/backend/AGENTS.mdeven still contained guidance saying not to add MT3 as a production backend.phase2_catalogue_gates, pianoroll endpoint + symusic consolidation, or the recommendation-proof campaign.What changed
apps/backend/AGENTS.md(file map + corrected guidance),apps/backend/ARCHITECTURE.md(Components table +mt3-transcriptionsroute),apps/backend/README.md(Polyphonic section now reflects opt-in shipping),apps/ui/AGENTS.md+apps/ui/README.md(mt3Client.ts+ UI surface),CLAUDE.md(new backend file entry, new frontend service entry,ASA_ENABLE_MT3env var).CHANGELOG.md,apps/backend/CHANGELOG.md,apps/ui/CHANGELOG.mdall now have entries for MT3, Live 12 catalogue + gates, pianoroll + symusic, and the recommendation-proof campaign.analysis_runtime.py:685ref →~L800; addedASA_SAMPLE_SYNTH_BACKENDto env vars; corrected thetsconfig.jsonexclude description (was missingvitest.config.ts); dropped the unreachable5c40dd44commit hash.docs/ARCHITECTURE_STRATEGY.md+docs/POLYPHONIC_TRANSCRIPTION_SPIKE.md: reflect that MT3 has shipped as an opt-in additive stage; the offline harness remains the comparison rig for other candidates.docs/SAMPLE_GENERATION.md: fix schematicsynth_kit()to the realsynth_kick/snare/hat()trio.apps/backend/JSON_SCHEMA.md: annotate the shared-vs-full carve-out so the six full-mode-only top-level keys (keyProfile,tuningFrequency,tuningCents,lufsMomentaryMax,lufsShortTermMax,pitchDetail) are explicit againstEXPECTED_TOP_LEVEL_KEYS(CLAUDE.md tripwire fix: chunk Demucs inference and stop boot-time memory spikes #4).docs/PUBLIC_HOSTING_FOUNDATION.md→docs/history/public-hosting-foundation-2026-04-01.mdwith an archived-banner; it's a completion record, not a living spec. Updated inbound references inCHANGELOG.md,docs/SETUP.md,docs/history/README.md, anddocs/history/archive/refactor-state-2026-03-18.md.incorporations/forking-plans-2026-05-14.md: added a 2026-05-30 status update noting Plan 6 substantially landed via the Live 12 catalogue + gates work; Plans 4/5 stay open; Plans 7/8 remain re-scoped per the existing 2026-05-22 correction.as of 2026-05-27date stamps in both per-appAGENTS.mdfiles to2026-05-30.Test plan
CLAUDE.md,apps/backend/AGENTS.md,apps/backend/ARCHITECTURE.md,apps/ui/AGENTS.mdfor tone — they're load-bearing onboarding docs and the edits should read naturally next to the surrounding text.server.py:3247, module atmt3_transcription.py, client atapps/ui/src/services/mt3Client.ts, env var atanalyze.py:1851).docs/history/public-hosting-foundation-2026-04-01.mdarchive banner is visible and that the inbound links inCHANGELOG.md,docs/SETUP.md, anddocs/history/README.mdresolve.docs/PUBLIC_HOSTING_FOUNDATION.mdpath (audit confirmed: only the three markdown references above; all updated).CHANGELOG.mdUnreleased sections for chronological ordering / consistency with prior entries.https://claude.ai/code/session_016m6cUFNwb3kD2EzAbgqCHe
Generated by Claude Code